diff options
Diffstat (limited to 'app/[lng]/evcp/(evcp)/(master-data)/form-list/page.tsx')
| -rw-r--r-- | app/[lng]/evcp/(evcp)/(master-data)/form-list/page.tsx | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/[lng]/evcp/(evcp)/(master-data)/form-list/page.tsx b/app/[lng]/evcp/(evcp)/(master-data)/form-list/page.tsx index 7f04cc3e..43023429 100644 --- a/app/[lng]/evcp/(evcp)/(master-data)/form-list/page.tsx +++ b/app/[lng]/evcp/(evcp)/(master-data)/form-list/page.tsx @@ -10,13 +10,18 @@ import { ItemsTable } from "@/lib/items/table/items-table" import { getFormLists } from "@/lib/form-list/service" import { FormListsTable } from "@/lib/form-list/table/formLists-table" import { InformationButton } from "@/components/information/information-button" +import { useTranslation } from "@/i18n" interface IndexPageProps { + params: Promise<{ lng: string }> searchParams: Promise<SearchParams> } export default async function IndexPage(props: IndexPageProps) { + const { lng } = await props.params + const { t } = await useTranslation(lng, 'menu') + const searchParams = await props.searchParams const search = searchParamsCache.parse(searchParams) @@ -37,7 +42,7 @@ export default async function IndexPage(props: IndexPageProps) { <div> <div className="flex items-center gap-2"> <h2 className="text-2xl font-bold tracking-tight"> - 레지스터 목록 from S-EDP + {t('menu.master_data.form_register')} </h2> <InformationButton pagePath="evcp/form-list" /> </div> |
